using System;
using System.Collections.Generic;
using System.Text;

namespace BTV.Base
{
    [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1705:LongAcronymsShouldBePascalCased"), System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1012:AbstractTypesShouldNotHaveConstructors")]
    public abstract class BTVProgramParser
    {
        private String url;

        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1056:UriPropertiesShouldNotBeStrings")]
        public String Url
        {
            get { return url; }
            set { url = value; }
        }
        private BTVChannel c;

        public BTVChannel Channel
        {
            get { return c; }
            set { c = value; }
        }

        public BTVProgramParser() { }

        public BTVProgramParser(String url, BTVChannel c)
        {
            this.url = url;
            this.c = c;
        }

        public abstract void ParseFile();

        public BTVChannel Output()
        {
            return c;
        }
    }
}
